/* game_room.css */

#screen {    
    width: 450px;
    height: 50px;
    margin-top: 10px;
    background-color: white;
    font-size: 22px;
    line-height: 50px;
    text-align: center;
    border-radius: 10px;

    
}

#chess {
    max-width: 450px;
    height: auto;
}

.game-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-section {
    margin-left: 20px;
    margin-top: 20px;/* Adjusted for spacing */
}

.chat-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.chat-messages {
    max-width: 100%;/* Make the chat messages responsive */
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
}

.chat-input {
    display: flex;
    margin-top: 10px;
}

#messageInput {
    flex: 1;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
}

button:hover {
    background-color: #45a049;
}